Elementor\Modules\SafeMode\Module S

Total Complexity 42
Dependencies 7
Dependents 2
Total lines 548
Lines of code 460
Logical lines of code 114
Comment lines 23
Methods 21
Properties 0

Methods 21

Method Rating Maintainability Complexity Lines of code
print_try_safe_mode()
A
40 3 105
print_safe_mode_notice()
S
40 2 97
print_safe_mode_css()
S
54 1 101
enable_safe_mode()
S
53 5 21
disable_safe_mode()
S
56 4 18
__construct()
S
57 3 15
update_allowed_plugins()
S
62 3 12
on_deactivated_plugin()
S
62 3 12
ajax_enable_safe_mode()
S
62 3 11
add_admin_button()
S
58 2 16
on_update_safe_mode()
S
67 3 8
get_admin_page_url()
S
81 1 3
plugin_action_links()
S
73 1 4
get_name()
S
82 1 3
is_enabled()
S
79 1 3
register_scripts()
S
80 1 3
run_safe_mode()
S
65 1 8
register_ajax_actions()
S
75 1 4
filter_template()
S
80 1 3
filter_preview_url()
S
79 1 3
is_allowed_post_type()
S
65 1 10